import Request from '@/axios/request'

export function getGameGameSons(params) {
  return Request.get('game/gameSons', { params })
}

export function createGameGameSon() {
  return Request.get('game/gameSons/create')
}

export function storeGameGameSon(data) {
  return Request.post('game/gameSons', data)
}

export function updateGameGameSon(id, data) {
  return Request.put(`game/gameSons/${id}`, data)
}

export function editGameGameSon(id) {
  return Request.get(`game/gameSons/${id}/edit`)
}

export function destroyGameGameSon(id) {
  return Request.delete(`game/gameSons/${id}`)
}
